package com.ny.service.jmpl;

import com.ny.entity.Classrooms;
import com.ny.mapper.ClassroomMapper;
import com.ny.service.ClasssroomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassroomServiceImpl implements ClasssroomService {
    @Autowired
    private ClassroomMapper classroomMapper;
    @Override
    public List<Classrooms> findAllClassrooms(){
        return classroomMapper.findAllClassrooms();
    }
}
